package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.CirculationSheet;
import org.apache.ibatis.annotations.Mapper;

/**
 * 流转单Mapper接口
 * 
 * @author ruoyi
 * @date 2021-03-12
 */
@Mapper
public interface CirculationSheetMapper 
{
    /**
     * 查询流转单
     * 
     * @param id 流转单ID
     * @return 流转单
     */
    public CirculationSheet selectCirculationSheetById(Long id);

    /**
     * 查询流转单列表
     * 
     * @param circulationSheet 流转单
     * @return 流转单集合
     */
    public List<CirculationSheet> selectCirculationSheetList(CirculationSheet circulationSheet);

    /**
     * 新增流转单
     * 
     * @param circulationSheet 流转单
     * @return 结果
     */
    public int insertCirculationSheet(CirculationSheet circulationSheet);

    /**
     * 修改流转单
     * 
     * @param circulationSheet 流转单
     * @return 结果
     */
    public int updateCirculationSheet(CirculationSheet circulationSheet);

    /**
     * 删除流转单
     * 
     * @param id 流转单ID
     * @return 结果
     */
    public int deleteCirculationSheetById(Long id);

    /**
     * 批量删除流转单
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteCirculationSheetByIds(String[] ids);
}
